<template>
	<tm-app ref="app">
		<tm-text color="red" label="分享"></tm-text>
            
		
		


		<tm-tabbar :autoSelect="false" v-model:active="acc">
			<tm-tabbar-item @click="acc=0" activeColor="orange" url='/pages/index/index' open-type='reLaunch' text="首页"
				icon='tmicon-md-home'></tm-tabbar-item>
			<tm-tabbar-item @click="acc=1" activeColor="orange" url='/pages/index/seach' text="预约"
				icon='tmicon-ios-bookmarks'></tm-tabbar-item>
			<tm-tabbar-item @click="acc=2" :shadow="2" text="分享" url='/pages/index/share' btn-top fontColor="white"
				activeColor="white" linear="top" linearDeep="accent" color="yellow" icon="tmicon-plus"></tm-tabbar-item>
			<tm-tabbar-item @click="acc=3" activeColor="orange" url='/pages/index/order' text="订单"
				unicon="tmicon-ios-filing" icon="tmicon-ios-filing"></tm-tabbar-item>
			<tm-tabbar-item @click="acc=4" activeColor="orange" url='/pages/index/my' text="我" unicon="tmicon-account"
				icon="tmicon-userplus-fill"></tm-tabbar-item>
		</tm-tabbar>
	</tm-app>
</template>

<script lang="ts" setup>
	import { ref } from "vue"
	
	const acc = ref(2)
</script>